package comm.util;

import java.util.HashMap;

import org.json.JSONObject;

public class SoptHashMap extends HashMap{
	public SoptHashMap()
	{
	}
	
	@Override
	public Object put(Object key, Object value) {
		if(key!=null)
			key =  key.toString().toUpperCase();
		return super.put(key, value);
	}
	
	public JSONObject toJSONObject(){
		return new JSONObject(this);
	}
	
}
